﻿<Application
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             x:Class="CmdletHelpEditor.App"
			 Startup="ApplicationStartup"
             >
	<Application.Resources>
		<ResourceDictionary>
			<!--External themes-->
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="Themes/Button.xaml"/>
				<ResourceDictionary Source="Themes/CheckBox.xaml"/>
				<ResourceDictionary Source="Themes/Colors.xaml"/>
				<ResourceDictionary Source="Themes/Image.xaml"/>
				<ResourceDictionary Source="Themes/Menu.xaml"/>
				<ResourceDictionary Source="Themes/MenuItem.xaml"/>
				<ResourceDictionary Source="Themes/ProgressBar.xaml"/>
				<ResourceDictionary Source="Themes/RadioButton.xaml"/>
				<ResourceDictionary Source="Themes/ScrollBar.xaml"/>
				<ResourceDictionary Source="Themes/StatusBar.xaml"/>
				<ResourceDictionary Source="Themes/TextBox.xaml"/>
				<ResourceDictionary Source="Themes/ScrollableTabControl.xaml"/>
				<ResourceDictionary Source="Themes/TabItem.xaml"/>
				<ResourceDictionary Source="Themes/ToolBar.xaml"/>
				<ResourceDictionary Source="Themes/ToolBarTray.xaml"/>
				<ResourceDictionary Source="Themes/ClosableTabItem.xaml"/>
			</ResourceDictionary.MergedDictionaries>
	<!--MainWindow styles-->
			<!--Text boxes-->
			<ControlTemplate x:Key="TextBoxControlTemplate" TargetType="{x:Type TextBox}">
				<Border x:Name="border" CornerRadius="2" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
					<ScrollViewer x:Name="PART_ContentHost" Focusable="False" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"/>
				</Border>
				<ControlTemplate.Triggers>
					<Trigger Property="IsEnabled" Value="False">
						<Setter Property="Opacity" TargetName="border" Value="0.56"/>
					</Trigger>
					<Trigger Property="IsMouseOver" Value="True">
						<Setter Property="BorderBrush" TargetName="border" Value="#FF7EB4EA"/>
					</Trigger>
					<Trigger Property="IsKeyboardFocused" Value="True">
						<Setter Property="BorderBrush" TargetName="border" Value="#FF569DE5"/>
					</Trigger>
				</ControlTemplate.Triggers>
			</ControlTemplate>
			<!--About-->
			<Style x:Key="AboutDialogStyle" TargetType="Window">
				<Setter Property="Height" Value="Auto" />
				<Setter Property="Width" Value="500" />
				<Setter Property="ShowInTaskbar" Value="False" />
				<Setter Property="ResizeMode" Value="NoResize" />
				<Setter Property="WindowStyle" Value="SingleBorderWindow" />
				<Setter Property="SizeToContent" Value="Height" />
			</Style>
		</ResourceDictionary>
	</Application.Resources>
</Application>
